package trabalho.das.fxml;

import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import trabalho.das.fxml.views.MainView;

/**
 *
 * @author davidrex
 */
public class TrabalhoDASFxml extends Application {
    
    @Override
    public void start(Stage stage) throws Exception {
        Parent root = new MainView();
        
        Scene scene = new Scene(root);
        stage.getIcons().add(new Image(getClass().getResourceAsStream( "/resources/icones/app.png" )));
        stage.setTitle("DAS - Trabalho");
        stage.setScene(scene);
        stage.show();
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        launch(args);
    }
    
}
